﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DAO;
using DTO;
namespace BUS
{
    public class ChiTietHoaDonBUS
    {
        ChiTIetHoaDonDAO chitiet = new ChiTIetHoaDonDAO();
        public DataTable LayTable()
        {

            return chitiet.LayTable();
        }
        public DataTable LayTableTheoHoaDon(int maHD)
        {

            return chitiet.LayTableTheoHoaDon(maHD) ;
        }
        public void xoa(ChiTietHoaDonDTO ct)
        {
            chitiet.Xoa(ct);
        }
        public void them(ChiTietHoaDonDTO ct)
        {
            chitiet.them(ct);
        }
     
    }
}
